
.wrapper1{
    max-width:1300px;
    margin:80px auto;
}
.wrapper1 li{
    position: relative;
    width: 250px;
    height: 250px;
    list-style:none;
    margin-left: 60px;
    display: inline-block;
    perspective: 300px;
    margin-bottom: 80px;
  }
  .picBox{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform-style: preserve-3d;
    transform-origin: 50% 50% -90px;
    animation: 200ms ease-out 0ms 1 normal forwards;
  }

.show,
.hide{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
   
  }
  .show img{
  	width: 100%;
  	height: 100%;
  }
.hide{
    color:#fff;
    background-color:#033692;
    text-align:center;
  	padding: 20px;
    transform: translate3d(0,0,-1px);
   
	
    /* 3D空间内移动一个元素的位置 */
}
.hide p{
	 display:-webkit-box;/**对象作为伸缩盒子模型展示**/
            -webkit-box-orient:vertical;/**设置或检索伸缩盒子对象的子元素的排列方式**/
            -webkit-line-clamp:11;/**显示的行数**/
            overflow:hidden;/**隐藏超出的内容**/
}
.nri_dingwei{
	position: relative;
	 width: 250px;
    height: 250px;
}
.sp_biaoti{
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	background-color: #033692;
	color: #fff;
	text-align: center;
	height: 40px;
	line-height: 40px;
}
.in-top .hide,
.out-top .hide
 {
    transform-origin: 0% 100%;
    transform: translate3d(0, -100%, 0) rotate3d(1,0,0,120deg);
}
.in-top .picBox{
    animation-name: in-top;
    animation-play-state: running;
}
.out-top .picBox{
    animation-name: out-top;
    animation-play-state: running;
}
@keyframes in-top {
    from  {transform: rotate3d(0,0,0,0deg)}
    to    {transform: rotate3d(-1,0,0,120deg)}
} 

@keyframes out-top {
    from {transform: rotate3d(-1,0,0,120deg)}
    to   {transform: rotate3d(0,0,0,0deg)}
}
.in-right .hide,
.out-right .hide {
          transform-origin: 0% 0%;
          transform: translate3d(100%, 0, 0) rotate3d(0,1,0,120deg);
}
.in-right .picBox{
    animation-name: in-right;
    animation-play-state: running;
}
.out-right .picBox{
    animation-name: out-right;
    animation-play-state: running;
}
@keyframes in-right {
    from  {transform: rotate3d(0,0,0,0deg)}
    to    {transform: rotate3d(0,-1,0,120deg)}
}

@keyframes out-right {
    from  {transform: rotate3d(0,-1,0,120deg)}
    to    {transform: rotate3d(0,0,0,0deg)}
}

.in-bottom .hide,
.out-bottom .hide {
          transform-origin: 0% 0%;
          transform: translate3d(0, 100%, 0) rotate3d(-1,0,0,120deg);
}
.in-bottom .picBox{
    animation-name: in-bottom;
    animation-play-state: running;
}
.out-bottom .picBox{
    animation-name: out-bottom;
    animation-play-state: running;
}
@keyframes in-bottom {
    from  {transform: rotate3d(0,0,0,0deg)}
    to    {transform: rotate3d(1,0,0,120deg)}
}
@keyframes out-bottom {
    from  {transform: rotate3d(1,0,0,120deg)}
    to    {transform: rotate3d(0,0,0,0deg)}
}
.in-left .hide,
.out-left .hide {
          transform-origin: 100% 0;
          transform: translate3d(-100%,0,0) rotate3d(0,-1,0,120deg);
}
@keyframes in-left {
    from  {transform: rotate3d(0,0,0,0deg)}
    to    {transform: rotate3d(0,1,0,120deg)}
}
@keyframes out-left {
    from  {transform: rotate3d(0,1,0,120deg)}
    to    {transform: rotate3d(0,0,0,0deg)}
}
.in-left .picBox{
          animation-name: in-left;
          animation-play-state: running;
}
.out-left .picBox{
          animation-name: out-left;
          animation-play-state: running;
}






